/**
 * Project Name:dsrs-systemservice-domain
 * File Name:DatadicTypeVo.java
 * Package Name:com.bwda.dsrs.systemservice.domain.vo.datadict;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 */
package com.bwda.dsrs.systemservice.domain.vo.datadictype;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 数据字典类型
 *
 * @author liangjianyong
 * @date 2019/4/8
 */
@Data
@ApiModel(description = "系统数据字典类型")
public class DatadicTypeVo {

	@ApiModelProperty(value = "数据字典类别", required = true)
	private Integer id;

	@ApiModelProperty(value = "数据字典类别code")
	private String dataDictTypeCode;

	@ApiModelProperty(value = "数据字典名称")
	private String dataDictTypeName;

	@ApiModelProperty(value = "排序")
	private Integer orderNum;

	@ApiModelProperty(value = "0内置1自定义")
	private Integer isDefault;

	@ApiModelProperty(value = "0未删除1已删除")
	private Integer delFlag;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "0:正常 1:禁用")
	private Integer status;

	@ApiModelProperty(value = "创建人code")
	private String createUserCode;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	@ApiModelProperty(value = "更新人code")
	private String updateUserCode;

	@ApiModelProperty(value = "更新时间")
	private Date updateTime;

	public Date getCreateTime() {
		if (createTime != null){
			return (Date) createTime.clone();
		}

		return null;
	}

	public void setCreateTime(Date createTime) {
		if (createTime != null){
			this.createTime = (Date) createTime.clone();
		}
	}

	public Date getUpdateTime() {
		if (updateTime != null){
			return (Date) updateTime.clone();
		}

		return null;
	}

	public void setUpdateTime(Date updateTime) {
		if (updateTime != null){
			this.updateTime = (Date) updateTime.clone();
		}
	}
}